package com.cc.micro.api.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * <p>
 * 投资记录表
 * </p>
 *
 * @author cc
 * @since 2023-07-01
 */
@Data
@ApiModel("用户投标信息")
public class BidInfo implements Serializable {

    private static final long serialVersionUID = 1L;
    @ApiModelProperty(value = "投标记录ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    @ApiModelProperty(value = "产品ID")
    @TableField(value = "loan_id")
    private Integer loanId;
    @ApiModelProperty(value = "用户ID")
    @TableField(value = "uid")
    private Integer uid;
    @ApiModelProperty(value = "投标金额")
    @TableField(value = "bid_money")
    private BigDecimal bidMoney;
    @ApiModelProperty(value = "投标时间")
    @TableField(value = "bid_time")
    private LocalDateTime bidTime;
    @ApiModelProperty(value = "投标状态")
    @TableField(value = "bid_status")
    private Integer bidStatus;


}
